package com.demo.structural.composite;

public class TextFile implements File {

	public void addChild(File file) {
		System.out.println("无法添加");
	}

	public void getName() {
		System.out.println("text file");
	}

}
